<!DOCTYPE html>
<html>

<head>
    <meta name="layout" content="main2"/>
    <g:set var="entityName" value="${message(code: 'messageTemplate.label', default: 'MessageTemplate')}"/>
    <title>消息模板详情</title>
    <asset:stylesheet src="homer/vendor/codemirror/codemirror.css"/>
</head>

<body>

<div class="main-body">
    <div class="page-wrapper">
        <!-- Page-header start -->
        <div class="page-header">
            <div class="page-header-title">
                <h4>消息模板详情</h4>
            </div>

            <div class="page-header-breadcrumb">
                <ul class="breadcrumb-title">
                    <li class="breadcrumb-item">
                        <a href="/salesDashboard/index">
                            <i class="icofont icofont-home"></i>
                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <g:link controller="messageTemplate" action="index">消息推送模板列表</g:link>
                    </li>
                    <li class="breadcrumb-item"><a href="#!">消息模板详情</a>
                    </li>
                </ul>
            </div>
        </div>
        <!-- Page-header end -->
        <!-- Page-body start -->
        <div class="page-body">

        <!-- Hover table card start -->
            <div class="card">
                <div class="card-header">
                    <h5>消息模板详情</h5>

                    <div class="card-header-right">
                        <g:link action="edit" resource="${this.messageTemplate}" data-toggle="tooltip" data-placement="top"
                                title="" data-original-title="编辑">
                            <i class="icofont icofont-edit"></i>
                        </g:link>

                        <i class="icofont icofont-rounded-down"></i>
                    </div>
                </div>

                <div class="card-block">

                    <div class="panel-body">
                        <div class="form-group row">
                            <label class="col-md-2 control-label">名称：</label>

                            <div class="col-md-8">
                                <span class="cont">${this.messageTemplate?.name}</span>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group row">
                            <label class="col-md-2 control-label">内容：</label>

                            <div class="col-md-8">
                                <span class="cont">${this.messageTemplate?.text}</span>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>

                        <div class="form-group row">
                            <label class="col-md-2 control-label">模板：</label>

                            <div class="col-md-8">
                                <g:if test="${this.messageTemplate?.template}">
                                    <pre>
                                        <code>${this.messageTemplate?.template}</code>
                                    </pre>
                                </g:if>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- Hover table card end -->
            </div>

            <!-- Page-body end -->
        </div>
    </div>
</div>

</body>

</html>


